<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::FileNodeIterator Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="../../d2/d6d/classcv_1_1FileNodeIterator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::FileNodeIterator Class Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> &raquo; <a class="el" href="../../d4/da4/group__core__xml.html">XML/YAML Persistence</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>used to iterate through sequences and mappings.  
 <a href="../../d7/d4e/classcv_1_1FileNodeIterator.html#details">More...</a></p>

<p><code>#include &lt;opencv2/core/persistence.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa048945804bcbd368db919ce3ef775e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#aa048945804bcbd368db919ce3ef775e5">FileNodeIterator</a> ()</td></tr>
<tr class="memdesc:aa048945804bcbd368db919ce3ef775e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The constructors.  <a href="#aa048945804bcbd368db919ce3ef775e5">More...</a><br /></td></tr>
<tr class="separator:aa048945804bcbd368db919ce3ef775e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4cf40e6c8b2d85e956dd35d2fa82382"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ac4cf40e6c8b2d85e956dd35d2fa82382">FileNodeIterator</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;node, bool seekEnd)</td></tr>
<tr class="separator:ac4cf40e6c8b2d85e956dd35d2fa82382"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e43453413ee5ee52b51c4061733aeb1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a0e43453413ee5ee52b51c4061733aeb1">FileNodeIterator</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it)</td></tr>
<tr class="separator:a0e43453413ee5ee52b51c4061733aeb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a693c0472549f95a40cb7ea13a602db53"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a693c0472549f95a40cb7ea13a602db53">equalTo</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it) const</td></tr>
<tr class="separator:a693c0472549f95a40cb7ea13a602db53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73e4a0844474b25bf254b08c7e4978d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a73e4a0844474b25bf254b08c7e4978d6">operator*</a> () const</td></tr>
<tr class="memdesc:a73e4a0844474b25bf254b08c7e4978d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the currently observed element  <a href="#a73e4a0844474b25bf254b08c7e4978d6">More...</a><br /></td></tr>
<tr class="separator:a73e4a0844474b25bf254b08c7e4978d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a06cf1a5b94057476a925f3f758c490"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a6a06cf1a5b94057476a925f3f758c490">operator++</a> ()</td></tr>
<tr class="memdesc:a6a06cf1a5b94057476a925f3f758c490"><td class="mdescLeft">&#160;</td><td class="mdescRight">moves iterator to the next node  <a href="#a6a06cf1a5b94057476a925f3f758c490">More...</a><br /></td></tr>
<tr class="separator:a6a06cf1a5b94057476a925f3f758c490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4daed1197209314a7a9bada1cb21af53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a4daed1197209314a7a9bada1cb21af53">operator++</a> (int)</td></tr>
<tr class="memdesc:a4daed1197209314a7a9bada1cb21af53"><td class="mdescLeft">&#160;</td><td class="mdescRight">moves iterator to the next node  <a href="#a4daed1197209314a7a9bada1cb21af53">More...</a><br /></td></tr>
<tr class="separator:a4daed1197209314a7a9bada1cb21af53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b08ee6b326b9d83ed01de4b30930d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a77b08ee6b326b9d83ed01de4b30930d2">operator+=</a> (int <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a231c0c7d30c035d1ac9536c59fb018b8">ofs</a>)</td></tr>
<tr class="memdesc:a77b08ee6b326b9d83ed01de4b30930d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">moves iterator forward by the specified offset (possibly negative)  <a href="#a77b08ee6b326b9d83ed01de4b30930d2">More...</a><br /></td></tr>
<tr class="separator:a77b08ee6b326b9d83ed01de4b30930d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeffb68f308d077062d0ced1a57ebd489"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#aeffb68f308d077062d0ced1a57ebd489">operator=</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it)</td></tr>
<tr class="separator:aeffb68f308d077062d0ced1a57ebd489"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af355d7976305ca2784952a69b9af9b06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#af355d7976305ca2784952a69b9af9b06">readRaw</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;fmt, void *vec, size_t len=(size_t) INT_MAX)</td></tr>
<tr class="memdesc:af355d7976305ca2784952a69b9af9b06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads node elements to the buffer with the specified format.  <a href="#af355d7976305ca2784952a69b9af9b06">More...</a><br /></td></tr>
<tr class="separator:af355d7976305ca2784952a69b9af9b06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a312b069f6804aa1a5d75d6c32bf5751d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a312b069f6804aa1a5d75d6c32bf5751d">remaining</a> () const</td></tr>
<tr class="memdesc:a312b069f6804aa1a5d75d6c32bf5751d"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the number of remaining (not read yet) elements  <a href="#a312b069f6804aa1a5d75d6c32bf5751d">More...</a><br /></td></tr>
<tr class="separator:a312b069f6804aa1a5d75d6c32bf5751d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab7b41883712e01cfc8c7f09bc826863c"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ab7b41883712e01cfc8c7f09bc826863c">blockIdx</a></td></tr>
<tr class="separator:ab7b41883712e01cfc8c7f09bc826863c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6d3b51fb9022e4e3bc3f6b078f04003"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#aa6d3b51fb9022e4e3bc3f6b078f04003">blockSize</a></td></tr>
<tr class="separator:aa6d3b51fb9022e4e3bc3f6b078f04003"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab042944f8e4682cc7e1359d55c5f317e"><td class="memItemLeft" align="right" valign="top">FileStorage::Impl *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ab042944f8e4682cc7e1359d55c5f317e">fs</a></td></tr>
<tr class="separator:ab042944f8e4682cc7e1359d55c5f317e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf369ce12d72a70f61a8d4932db33ef"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#abcf369ce12d72a70f61a8d4932db33ef">idx</a></td></tr>
<tr class="separator:abcf369ce12d72a70f61a8d4932db33ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f58d984f262f8ba6d49bec26b44a1ba"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a6f58d984f262f8ba6d49bec26b44a1ba">nodeNElems</a></td></tr>
<tr class="separator:a6f58d984f262f8ba6d49bec26b44a1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a231c0c7d30c035d1ac9536c59fb018b8"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a231c0c7d30c035d1ac9536c59fb018b8">ofs</a></td></tr>
<tr class="separator:a231c0c7d30c035d1ac9536c59fb018b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a0e9987928ef46a3fe99b3fe02b659dd4"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a0e9987928ef46a3fe99b3fe02b659dd4"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a0e9987928ef46a3fe99b3fe02b659dd4">operator&gt;&gt;</a> (<a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it, _Tp &amp;value)</td></tr>
<tr class="memdesc:a0e9987928ef46a3fe99b3fe02b659dd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads data from a file storage.  <a href="#a0e9987928ef46a3fe99b3fe02b659dd4">More...</a><br /></td></tr>
<tr class="separator:a0e9987928ef46a3fe99b3fe02b659dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b91e417a7103145b4997e086aec99df"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a1b91e417a7103145b4997e086aec99df"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a1b91e417a7103145b4997e086aec99df">operator&gt;&gt;</a> (<a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it, std::vector&lt; _Tp &gt; &amp;vec)</td></tr>
<tr class="memdesc:a1b91e417a7103145b4997e086aec99df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads data from a file storage.  <a href="#a1b91e417a7103145b4997e086aec99df">More...</a><br /></td></tr>
<tr class="separator:a1b91e417a7103145b4997e086aec99df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:acf112fc545f9775e075edc49aba223c4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#acf112fc545f9775e075edc49aba223c4">operator==</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it1, const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it2)</td></tr>
<tr class="separator:acf112fc545f9775e075edc49aba223c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a224780d14e4f8aae3e6127d605736bd1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a224780d14e4f8aae3e6127d605736bd1">operator!=</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it1, const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it2)</td></tr>
<tr class="separator:a224780d14e4f8aae3e6127d605736bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ec58573be20ff741b7f4d21bc223635"><td class="memItemLeft" align="right" valign="top">static ptrdiff_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a4ec58573be20ff741b7f4d21bc223635">operator-</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it1, const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it2)</td></tr>
<tr class="separator:a4ec58573be20ff741b7f4d21bc223635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada726685b67ed5fa4432cc30fb854d34"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ada726685b67ed5fa4432cc30fb854d34">operator&lt;</a> (const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it1, const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;it2)</td></tr>
<tr class="separator:ada726685b67ed5fa4432cc30fb854d34"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>used to iterate through sequences and mappings. </p>
<p>A standard STL notation, with node.begin(), node.end() denoting the beginning and the end of a sequence, stored in node. See the data reading sample in the beginning of the section. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d2/dfd/samples_2cpp_2filestorage_8cpp-example.html#_a18">samples/cpp/filestorage.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa048945804bcbd368db919ce3ef775e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa048945804bcbd368db919ce3ef775e5">&#9670;&nbsp;</a></span>FileNodeIterator() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FileNodeIterator::FileNodeIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The constructors. </p>
<p>These constructors are used to create a default iterator, set it to specific element in a file node or construct it from another iterator. </p>

</div>
</div>
<a id="ac4cf40e6c8b2d85e956dd35d2fa82382"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4cf40e6c8b2d85e956dd35d2fa82382">&#9670;&nbsp;</a></span>FileNodeIterator() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FileNodeIterator::FileNodeIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>seekEnd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>File node - the collection to iterate over; it can be a scalar (equivalent to 1-element collection) or "none" (equivalent to empty collection). </td></tr>
    <tr><td class="paramname">seekEnd</td><td>- true if iterator needs to be set after the last element of the node; that is: node.begin() =&gt; FileNodeIterator(node, false) node.end() =&gt; FileNodeIterator(node, true) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0e43453413ee5ee52b51c4061733aeb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e43453413ee5ee52b51c4061733aeb1">&#9670;&nbsp;</a></span>FileNodeIterator() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::FileNodeIterator::FileNodeIterator </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">it</td><td>Iterator to be used as initialization for the created iterator. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a693c0472549f95a40cb7ea13a602db53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a693c0472549f95a40cb7ea13a602db53">&#9670;&nbsp;</a></span>equalTo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::FileNodeIterator::equalTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a73e4a0844474b25bf254b08c7e4978d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73e4a0844474b25bf254b08c7e4978d6">&#9670;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> cv::FileNodeIterator::operator* </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the currently observed element </p>

</div>
</div>
<a id="a6a06cf1a5b94057476a925f3f758c490"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a06cf1a5b94057476a925f3f758c490">&#9670;&nbsp;</a></span>operator++() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a>&amp; cv::FileNodeIterator::operator++ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>moves iterator to the next node </p>

</div>
</div>
<a id="a4daed1197209314a7a9bada1cb21af53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4daed1197209314a7a9bada1cb21af53">&#9670;&nbsp;</a></span>operator++() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> cv::FileNodeIterator::operator++ </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>moves iterator to the next node </p>

</div>
</div>
<a id="a77b08ee6b326b9d83ed01de4b30930d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77b08ee6b326b9d83ed01de4b30930d2">&#9670;&nbsp;</a></span>operator+=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a>&amp; cv::FileNodeIterator::operator+= </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ofs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>moves iterator forward by the specified offset (possibly negative) </p>

</div>
</div>
<a id="aeffb68f308d077062d0ced1a57ebd489"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeffb68f308d077062d0ced1a57ebd489">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a>&amp; cv::FileNodeIterator::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af355d7976305ca2784952a69b9af9b06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af355d7976305ca2784952a69b9af9b06">&#9670;&nbsp;</a></span>readRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a>&amp; cv::FileNodeIterator::readRaw </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em> = <code>(size_t)&#160;INT_MAX</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads node elements to the buffer with the specified format. </p>
<p>Usually it is more convenient to use operator <code>&gt;&gt;</code> instead of this method. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fmt</td><td>Specification of each array element. See <a class="el" href="../../d4/da4/group__core__xml.html#format_spec">format specification</a> </td></tr>
    <tr><td class="paramname">vec</td><td>Pointer to the destination array. </td></tr>
    <tr><td class="paramname">len</td><td>Number of bytes to read (buffer size limit). If it is greater than number of remaining elements then all of them will be read. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a312b069f6804aa1a5d75d6c32bf5751d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a312b069f6804aa1a5d75d6c32bf5751d">&#9670;&nbsp;</a></span>remaining()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::remaining </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the number of remaining (not read yet) elements </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a224780d14e4f8aae3e6127d605736bd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a224780d14e4f8aae3e6127d605736bd1">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4ec58573be20ff741b7f4d21bc223635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ec58573be20ff741b7f4d21bc223635">&#9670;&nbsp;</a></span>operator-()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ptrdiff_t operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ada726685b67ed5fa4432cc30fb854d34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada726685b67ed5fa4432cc30fb854d34">&#9670;&nbsp;</a></span>operator<()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acf112fc545f9775e075edc49aba223c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf112fc545f9775e075edc49aba223c4">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e9987928ef46a3fe99b3fe02b659dd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e9987928ef46a3fe99b3fe02b659dd4">&#9670;&nbsp;</a></span>operator>>() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_Tp &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads data from a file storage. </p>

</div>
</div>
<a id="a1b91e417a7103145b4997e086aec99df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b91e417a7103145b4997e086aec99df">&#9670;&nbsp;</a></span>operator>>() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Tp &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a> &amp;&#160;</td>
          <td class="paramname"><em>it</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; _Tp &gt; &amp;&#160;</td>
          <td class="paramname"><em>vec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads data from a file storage. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ab7b41883712e01cfc8c7f09bc826863c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7b41883712e01cfc8c7f09bc826863c">&#9670;&nbsp;</a></span>blockIdx</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::blockIdx</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa6d3b51fb9022e4e3bc3f6b078f04003"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6d3b51fb9022e4e3bc3f6b078f04003">&#9670;&nbsp;</a></span>blockSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::blockSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab042944f8e4682cc7e1359d55c5f317e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab042944f8e4682cc7e1359d55c5f317e">&#9670;&nbsp;</a></span>fs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FileStorage::Impl* cv::FileNodeIterator::fs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="abcf369ce12d72a70f61a8d4932db33ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcf369ce12d72a70f61a8d4932db33ef">&#9670;&nbsp;</a></span>idx</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::idx</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6f58d984f262f8ba6d49bec26b44a1ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f58d984f262f8ba6d49bec26b44a1ba">&#9670;&nbsp;</a></span>nodeNElems</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::nodeNElems</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a231c0c7d30c035d1ac9536c59fb018b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a231c0c7d30c035d1ac9536c59fb018b8">&#9670;&nbsp;</a></span>ofs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::FileNodeIterator::ofs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/core/<a class="el" href="../../d8/d14/persistence_8hpp.html">persistence.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:42 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
